Properly call render function again