Prevent matrix frames from being placeable

Formated code and organized imports