Limit rendering so it only renders when changed