Fix render region stuff