Removing the render button "enter/leave" when the checkbox that enables the button is unchecked.

Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>
Signed-off-by: Tales Martins <tales.martins@gmail.com>