Fix overdraw bug