Fixed bug in timer render