bug fixes and physics components in editor