Prevent matrix frames from being placeable

Formated code and organized imports
Merge pull request #243 from yueh/fix-242

Prevent matrix frames from being placeable