fixed lastTimeDrawed asignation