I had the exact same problem as you describe and show in your screenshots. The problem happened only on KitKat.
In my case it happened on some popup dialogs which used a custom style. Next is a style which reproduces the problem when applie to a dialog. Notice the first line, which has the attribute parent="android.Theme", by removing that attribute the problem got solved.
<style name="transparent_low_dim" parent="android:Theme">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">true</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.3</item>
<item name="android:windowAnimationStyle">@null</item>
</style>
To fix it I removed the parent attribute so the first line would look now like next:
<style name="transparent_low_dim">