Fix issue with custom window level.