made EMP animation work on pause and changed update to repaint