fixes image tint method to consider the screen resolution