fixed entity.width and entity.height