Now that bsnes core supports luma, 32-bit colors are needed to properly reproduce the colors.
The scaling compensation in mouse clicking could have been wrong. Fix it to be always right. Also put the code to determine screen scale factors to one place.