Work around weird z-index issues with Firefox

This fixes the overlapping issues with Ace in Firefox afaict.