fixed many scaling issues

was using global width and height instead of the scaled equivalents.
Fixed now!