Paint program works, but drawing is bugged.