bugfix applying properties

`top`, `left`, etc. properties were ignored