negative x math fix
fixed some drawing issues