fix resolution bug with components