Updated to use double pixels