Fixed bug where dynamictk was always applied