Small rendering fix
Add logging