not sure if this is correct, at least it is confusing. Current resolution may change when changing refresh rate. Why do you replace LookAndFeel with current?