Fixed crash while drawing on the user