Fixes an issue where modal views with a keyboard would interfere with views beneath it.