Custom logic rebase

Add the custom logic that was introduced in 1.4.0, and update via rebase to the latest version 1.4.6
* Allow for rotation point to be on the bottom of the layer
* Correct text placement issue when rendered via node