enable high density support on the window

Without enabling high density support on the window, the content scale will always be 1.0.