Fixed issue with dim layer in video controller