fix css issues with hidpi